Optimal. Leaf size=18 \[ \frac{\sin ^4(e+f x) \cos (e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0212001, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.048, Rules used = {3011} \[ \frac{\sin ^4(e+f x) \cos (e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3011
Rubi steps
\begin{align*} \int \sin ^3(e+f x) \left (4-5 \sin ^2(e+f x)\right ) \, dx &=\frac{\cos (e+f x) \sin ^4(e+f x)}{f}\\ \end{align*}
Mathematica [B] time = 0.0266386, size = 44, normalized size = 2.44 \[ \frac{\cos (e+f x)}{8 f}-\frac{3 \cos (3 (e+f x))}{16 f}+\frac{\cos (5 (e+f x))}{16 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.04, size = 51, normalized size = 2.8 \begin{align*}{\frac{1}{f} \left ( \left ({\frac{8}{3}}+ \left ( \sin \left ( fx+e \right ) \right ) ^{4}+{\frac{4\, \left ( \sin \left ( fx+e \right ) \right ) ^{2}}{3}} \right ) \cos \left ( fx+e \right ) -{\frac{ \left ( 8+4\, \left ( \sin \left ( fx+e \right ) \right ) ^{2} \right ) \cos \left ( fx+e \right ) }{3}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.957005, size = 39, normalized size = 2.17 \begin{align*} \frac{\cos \left (f x + e\right )^{5} - 2 \, \cos \left (f x + e\right )^{3} + \cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.75468, size = 73, normalized size = 4.06 \begin{align*} \frac{\cos \left (f x + e\right )^{5} - 2 \, \cos \left (f x + e\right )^{3} + \cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 4.06879, size = 100, normalized size = 5.56 \begin{align*} \begin{cases} \frac{5 \sin ^{4}{\left (e + f x \right )} \cos{\left (e + f x \right )}}{f} + \frac{20 \sin ^{2}{\left (e + f x \right )} \cos ^{3}{\left (e + f x \right )}}{3 f} - \frac{4 \sin ^{2}{\left (e + f x \right )} \cos{\left (e + f x \right )}}{f} + \frac{8 \cos ^{5}{\left (e + f x \right )}}{3 f} - \frac{8 \cos ^{3}{\left (e + f x \right )}}{3 f} & \text{for}\: f \neq 0 \\x \left (4 - 5 \sin ^{2}{\left (e \right )}\right ) \sin ^{3}{\left (e \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.14129, size = 53, normalized size = 2.94 \begin{align*} \frac{\cos \left (f x + e\right )^{5}}{f} - \frac{2 \, \cos \left (f x + e\right )^{3}}{f} + \frac{\cos \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]